package com.wwx.worldonwheels.mapper;

import com.wwx.worldonwheels.VO.CarVO;
import com.wwx.worldonwheels.domain.WwxVehicle;
import com.wwx.worldonwheels.domain.WwxVehicleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

@Service
public interface WwxVehicleMapper {
    CarVO[] ListCar(String orderBy);

    CarVO findCar(String vin);

    long countByExample(WwxVehicleExample example);

    int deleteByExample(WwxVehicleExample example);

    int deleteByPrimaryKey(String vin);

    int insert(WwxVehicle record);

    int insertSelective(WwxVehicle record);

    List<WwxVehicle> selectByExample(WwxVehicleExample example);

    WwxVehicle selectByPrimaryKey(String vin);

    int updateByExampleSelective(@Param("record") WwxVehicle record, @Param("example") WwxVehicleExample example);

    int updateByExample(@Param("record") WwxVehicle record, @Param("example") WwxVehicleExample example);

    int updateByPrimaryKeySelective(WwxVehicle record);

    int updateByPrimaryKey(WwxVehicle record);
}